# This is a sample Python script.

# Press Shift+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
import pyautogui

def print_hi(name):
    # Use a breakpoint in the code line below to debug your script.
    print(f'Hi, {name}')  # Press Ctrl+F8 to toggle the breakpoint.


# Press the green button in the gutter to run the script.
if __name__ == '__main__':
    print_hi('PyCharm')

# See PyCharm help at https://www.jetbrains.com/help/pycharm/
#     array = {1,2,3}
#     print(array)
    # pyautogui.getWindowsWithTitle()
    # pyautogui.alert('This is an alert box.')
    #
    # pyautogui.confirm('Shall I proceed?')
    #
    # pyautogui.confirm('Enter option.', buttons=['A', 'B', 'C'])
    #
    # pyautogui.prompt('What is your name?')
    #
    # pyautogui.password('Enter password (text will be hidden)')
    location1png = pyautogui.locateOnScreen('python.png')
    list1 =  list(pyautogui.locateOnScreen('python.png'))
    print(list1)
    # x,y = pyautogui.center(location1png)
    # print(x,y)
    # pyautogui.rightClick(x,y)
